<!DOCTYPE html>
<html>
<head>
    <!-- 必要的标签 -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link crossorigin="anonymous" integrity="sha512-6KY5s6UI5J7SVYuZB4S/CZMyPylqyyNZco376NM2Z8Sb8OxEdp02e1jkKk/wZxIEmjQ6DRCEBhni+gpr9c4tvA==" href="https://lib.baomitu.com/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">

    <script crossorigin="anonymous" integrity="sha512-b3xr4frvDIeyC3gqR1/iOi6T+m3pLlQyXNuvn5FiRrrKiMUJK3du2QqZbCywH6JxS5EOfW0DY0M6WwdXFbCBLQ==" src="https://lib.baomitu.com/Chart.js/3.5.1/chart.js"></script>


    <style type="text/css">
        .cl{
            text-align: center;
            padding-top: 10%;
            border-color: rgba(31,40,214,0.1);
            background-color: rgba(109,88,92,0.1);
            border-radius: 10px;
            background-size: cover;
            margin-top: 20px;
        }

        body{
            background:url("https://s4.ax1x.com/2021/12/06/oyGSPA.md.jpg");/**/
        }

    </style>

</head>
<body>

<nav th:replace="aim::navbar"></nav>

<div class="cl">
    <form th:action="@{/majors/save}"  th:object= "${majorOr}" method="POST">
        <input type="text" placeholder="专业名" th:field="${majorOr.majorName}">
        <input type="text" placeholder="专业编号" th:field="${majorOr.majorID}">
        <input type="text" placeholder="所属学院" th:field="${majorOr.toCollage}">
        <button type="submit">添加专业信息</button>
    </form>

</div>

</body>
</html>